<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!--    <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=tRxUjeukuvqKUmuTkZZmNte37wnvX4XM"></script>-->
    <title>山西省消防救援总队训练与战勤保障支队</title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>

    <div id="app"></div>
    <script>
        function setRootFontSize() {
            /*获取屏幕的宽度*/
            let width = document.documentElement.clientWidth || document.body.clientWidth
            window.remSize = 13
            /*屏幕小于414px会改变基础像素，大于等于414px的屏幕基础像素为13px不变*/
            if (width > 414) {
              window.remSize = width / 1980 * 12
              document.documentElement.style.fontSize = width / 1980 * 12 + 'px'
            }else {
              document.documentElement.style.fontSize = '13px'
            }
        }
        setRootFontSize()
        window.addEventListener('resize', function () {
            setRootFontSize()
        }, false)
    </script>
    <!-- built files will be auto injected -->
  </body>
</html>
